/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.src.uniandes.ecos.tsp.creditscore.enums;

/**
 *
 * @author AndhyMao
 */
public enum LongCreditHistoryEnum {

    RANGE_ONE_LESS_THAN_25_PERCENTAGE(1, 7.5),
    RANGE_ONE_LESS_THAN_50_PERCENTAGE(2, 15),
    RANGE_ONE_LESS_THAN_75_PERCENTAGE(3, 7.5),
    RANGE_ONE_GREATER_THAN_75_PERCENTAGE(4, 3.5),
    
    RANGE_TWO_LESS_THAN_25_PERCENTAGE(5, 3.5),
    RANGE_TWO_LESS_THAN_50_PERCENTAGE(6, 7.5),
    RANGE_TWO_LESS_THAN_75_PERCENTAGE(7, 3.75),
    RANGE_TWO_GREATER_THAN_75_PERCENTAGE(8, 1.875),
    
    RANGE_TREE_LESS_THAN_25_PERCENTAGE(9, 0.9375),
    RANGE_TREE_LESS_THAN_50_PERCENTAGE(10, 1.875),
    RANGE_TREE_LESS_THAN_75_PERCENTAGE(11, 0.9375),
    RANGE_TREE_GREATER_THAN_75_PERCENTAGE(12, 0.46875);

    private int id;
    private double points;

    LongCreditHistoryEnum(int id, double points) {
        this.id = id;
        this.points = points;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the points
     */
    public double getPoints() {
        return points;
    }

    /**
     * @param points the points to set
     */
    public void setPoints(double points) {
        this.points = points;
    }
}
